#include<stdio.h>
int main()
{
	long int b,c;
	int m;
	scanf("%d",&m);
	b=m*1024*1024;
	c=b/4;
	printf("%ld",c);
	return 0;
}
